package com.z_talk.core.util;

import javax.swing.*;

public class TipsView {


    public static void warning(String message,String title){
        JOptionPane.showMessageDialog(new JFrame(),
                message,title, JOptionPane.ERROR_MESSAGE);
    }

    public static void notice(String message,String title){
        JOptionPane.showMessageDialog(new JFrame(),
                message,title, JOptionPane.INFORMATION_MESSAGE);
    }


}
